ticket:ticket_mutex.cc
	g++ -o $@ $^ -lpthread

cond:test_cond.cc
	g++ -o $@ $^ -lpthread

.PHONY:clean
clean:
	rm -f ticket

.PHONY:delcond
delcond:
	rm -f cond